import http from "../utils/http.js"

// 查看用户详情
export function _userdetail(data) {
	return http({
		url: "/user/detail",
		data,
		method: "get"
	})
}
// 查看用户资产
export function _useramount(data) {
	return http({
		url: "/user/amount",
		data,
		method: "get"
	})
}
// 订单统计
export function _orderstatistics(data) {
	return http({
		url: "/order/statistics",
		data,
		method: "get"
	})
}

// 优惠券统计
export function _discountsstatistics(data) {
	return http({
		url: "/discounts/statistics",
		data,
		method: "get"
	})
}